package com.cbg.discount.service;

import com.cbg.base.core.SuperService;
import com.cbg.discount.entity.DiscountRecord;

public interface IDiscountRecordService extends SuperService<DiscountRecord> {
    /**
     * 首次送优惠券
     */
    void firstLogin(String userId);

    /**
     * 发送优惠券
     * @param userId
     * @param discountId
     * @param channelId
     * @param amount
     */
    void send(String userId,String discountId,String channelId,int amount);
}
